﻿using System.Collections.Generic;
using Entities;
using Data;

namespace  Logic
{
    public sealed class RegionComunneLogic
    {
        public List<Region> GetListRegionsLogic()
        {
            RegionComunneData rc=new RegionComunneData();
            return rc.GetListRegions();
        }

        public List<Commune> GetListComunneLogic(int regionId)
        {
            RegionComunneData rc = new RegionComunneData();
            return rc.GetListComunne(regionId);
        }
    }
}
